package com.ruoyi.dev.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大屏版块对象 dev_datav_block
 *
 * @author yepanpan
 * @date 2025-02-25
 */
@Data
public class DevDatavBlock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键 */
    private Long id;

    /** 大屏模板 */
    @Excel(name = "大屏模板")
    @NotNull
    private Long dvId;
    private String dvCode;

    /** 块序号 */
    @Excel(name = "块序号")
    @NotNull
    private Integer dvIndex;

    /** 名称 */
    @Excel(name = "名称")
    @NotNull
    private String name;

    /** 数据集 */
    @Excel(name = "数据集")
    @NotNull
    private String dsCode;

    /** 报表类型 */
    @Excel(name = "报表类型", dictType="dev_chart_type", comboReadDict=true)
    @NotNull
    private String chartType;

    /** 数据解析 */
    @Excel(name = "数据解析")
    private String chartOptions;


}
